//请求URL
layui.define([], function (exports) {
  exports("api", {
    //用户登录
    login: "ucenter/login",
    //获取菜单
    getMenu: "ucenter/menu",
    //获取完整菜单
    getFullUserMenu: "/ucenter/menu/full",


    //获取组织机构
    getOrganization: "/ucenter/sysOrganization/queryAllOrganization",
    //新增组织机构
    addOrganization: "/ucenter/sysOrganization/add",
    //组织机构启用停用
    updateOrganization: "/ucenter/sysOrganization/updateData",
    //修改组织机构
    changeOrganization: "/ucenter/sysOrganization/changeInfo",
    //删除组织机构
    deleteOrganization: "/ucenter/sysOrganization/del",


    //获取角色列表
    getRole: "/ucenter/sys-role/queryAllRole",
    //新增角色
    addRole: "/ucenter/sys-role/addRole",
    //更改角色状态
    updateRole: "ucenter/sys-role/updateData",
    //修改角色
    changeRole: "ucenter/sys-role/changeInfo",
    //删除角色
    deleteRole: "ucenter/sys-role/delRole",


    //获取用户列表
    getUser: "/ucenter/user/queryAllUser",
    //新增用户
    addUser: "/ucenter/user/addUser",
    //更改用户状态
    updateUser: "ucenter/user/updateData",
    //删除用户
    deleteUser: "ucenter/user/del",
    //重置用户密码
    resetPwd: "ucenter/user/resetPwd",
    //用户修改密码
    updatePwd: "ucenter/user/updatePwd",
    //修改用户
    changeUser: "ucenter/user/changeInfo",


    //修改权限名称
    changePermission: "/ucenter/sys-permission/changeInfo",


    //获取系统版本
    getSystemVersion: "/sys/version",
    //获取系统权限
    getSysPermission: "/ucenter/sys-permission",


    //踢下线
    kickOnlineUser: "/ucenter/kick",
    //获取在线用户数量
    getCountUserOnlines: "/ucenter/online_user_num",
    //刷新全部权限
    flushAllPermission: "/ucenter/sys-permission/flushAll",

    //文件下载
    fileDownload: "/file/fileDownload",
    //票据文件下载
    uploadFileDownload: "/file/uploadFileDownload",
    //票据文件预览
    onlineShow: "/file/getBase64",
    //获取业务ID对应所有文件
    getAllFiles:"/common/sys-file-info/getAllFiles",
    //删除文件
    delFiles:"/common/sys-file-info/delFiles",

    //获取员工列表
    getAllStaff: "/ucenter/sys-staff/getAllStaff",
    //新增员工
    addStaff: "/ucenter/sys-staff/addStaff",
    //修改员工
    editStaff: "/ucenter/sys-staff/editStaff",
    //删除员工
    delStaff: "/ucenter/sys-staff/delStaff",


    //获取部门列表
    getAllDepartment: "/ucenter/sys-department/getAllDepartment",
    //添加部门
    addDepartment: "/ucenter/sys-department/addDepartment",
    //修改部门
    updateDepartment: "/ucenter/sys-department/updateDepartment",
    //级联删除部门
    deleteDepartment: "/ucenter/sys-department/deleteDepartment",



    //获取资金变化明细
    getAllCapitalDetail: "/finance/capital-finance-record/getAllCapitalDetail",
    //新增入出账记录
    capitalAdd: "/finance/capital-finance-record/capitalAdd",
    //修改入出账记录
    capitalEdit: "/finance/capital-finance-record/capitalEdit",
    //删除入出账记录
    capitalDel: "/finance/capital-finance-record/capitalDel",
    //导出入出账记录
    exportCapitalRecord:"/finance/capital-finance-record/exportCapitalRecord",


    //获取数据字典
    getAllDictKey: "/common/sys-dict-key/getAllDictKey",
    //新增数据字典
    createDictKey: "/common/sys-dict-key/createDictKey",
    //修改数据字典
    updateDictKey: "/common/sys-dict-key/updateDictKey",
    //级联删除数据字典
    delDictKey: "/common/sys-dict-key/delDictKey",


    //获取数据字典值
    getAllDictValue: "/common/sys-dict-value/getAllDictValue",
    //获取单个数据字典值
    getDictValue: "/common/sys-dict-value/getDictValue",
    //新增数据字典值
    createDictValue: "/common/sys-dict-value/createDictValue",
    //修改数据字典值
    updateDictValue: "/common/sys-dict-value/updateDictValue",
    //删除数据字典值
    delDictValue: "/common/sys-dict-value/delDictValue",




  });
});
